tests: Drop testtoolbar2
authorMatthias Clasen <mclasen@redhat.com>
Wed, 13 May 2020 19:37:21 +0000 (15:37 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 13 May 2020 19:37:21 +0000 (15:37 -0400)
This is just a tool bar styling test; we have
the same in the widget factory.

See: #2738

tests/meson.build
tests/testtoolbar2.c [deleted file]

index 3bcda9440c6b345e2b5349d721b9fa86a2eed15a..6ffb10378fa21ddbcf40b2052bcdeee910acb500 100644 (file)
@@ -73,7 +73,6 @@ gtk_tests = [
   ['testselectionmode'],
   ['testsounds'],
   ['testspinbutton'],
-  ['testtoolbar2'],
   ['testtreechanging'],
   ['testtreednd'],
   ['testtreeedit'],
diff --git a/tests/testtoolbar2.c b/tests/testtoolbar2.c
deleted file mode 100644 (file)
index 8234329..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#include <gtk/gtk.h>
-
-int main (int argc, char *argv[])
-{
-  GtkWidget *window;
-  GtkWidget *box;
-  GtkWidget *frame;
-  GtkWidget *box3;
-  GtkWidget *view;
-  GtkWidget *button;
-
-  gtk_init ();
-
-  window = gtk_window_new ();
-  gtk_window_set_default_size (GTK_WINDOW (window), 600, 400);
-  box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-  gtk_window_set_child (GTK_WINDOW (window), box);
-  frame = gtk_frame_new (NULL);
-  gtk_box_append (GTK_BOX (box), frame);
-  view = gtk_text_view_new ();
-  gtk_widget_set_vexpand (view, TRUE);
-  gtk_box_append (GTK_BOX (box), view);
-  box3 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
-  gtk_widget_set_margin_start (box3, 10);
-  gtk_widget_set_margin_end (box3, 10);
-  gtk_widget_set_margin_top (box3, 10);
-  gtk_widget_set_margin_bottom (box3, 10);
-
-  gtk_widget_add_css_class (box3, GTK_STYLE_CLASS_LINKED);
-  button = gtk_button_new_from_icon_name ("document-new-symbolic");
-  gtk_box_append (GTK_BOX (box3), button);
-  button = gtk_button_new_from_icon_name ("document-open-symbolic");
-  gtk_box_append (GTK_BOX (box3), button);
-  button = gtk_button_new_from_icon_name ("document-save-symbolic");
-  gtk_box_append (GTK_BOX (box3), button);
-
-  gtk_frame_set_child (GTK_FRAME (frame), box3);
-  
-  gtk_widget_show (GTK_WIDGET (window));
-
-  while (TRUE)
-    g_main_context_iteration (NULL, TRUE);
-
-  return 0;
-}